{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "cd154b24",
   "metadata": {},
   "source": [
    "# 主流软件开发技术简介"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "ad7a2412",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "36111cba",
   "metadata": {},
   "source": [
    "## 1、类型\n",
    "\n",
    "- 通用软件\n",
    "没有特定的用户群，没有特别复杂的计算模型，对软件开发技术要求高\n",
    "\n",
    "- 专用软件\n",
    "\n",
    "钻井软件：用户少，专业算法多，软件要求不高，计算结果，结果导向\n",
    "\n",
    "软件知识+专业知识\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "a4c0728e",
   "metadata": {},
   "source": [
    "## 2、主流的开发平台"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "7a289a65",
   "metadata": {},
   "source": [
    "- Windows：Windows 3,3.1,95; x86, x64；Windows 10&11\n",
    "- Linux：UOS，麒麟，深度，Red Hat，Fedora；Ubuntu Desktop；SUSE、Mint\n",
    "- Web：HTML5+js+wasm；IE，Firefox、Chrome\n",
    "- Android：\n",
    "- Ios：\n",
    "- MasOS\n",
    "- 鸿蒙:开源鸿蒙\n",
    "- 嵌入式：树莓派，pi...\n",
    "- .NET\n",
    "- JVM\n",
    "- WebAssembly"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "70dedda9",
   "metadata": {},
   "source": [
    "## 3、开发语言\n",
    "\n",
    "- Python：numpy，scipy，pandas，pytorch，tensorflow；脚本引擎，插件\n",
    "- C/C++：门槛高，C++面向对象，C++ 11：现代C++\n",
    "- Java：SUN，\n",
    "- C#：Microsoft, .NET, .Net Framework， Mono, .NET Core，\n",
    "- Kotlin: Android首选，Java\n",
    "- Swift: Ios首选，ObjC\n",
    "- Rust：安全性，性能\n",
    "- Go：Google，网络服务\n",
    "- TypeScript(MicroSoftware)，JavaScript：ES6, NodeJS\n",
    "- Delphi\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "4466a225",
   "metadata": {},
   "source": [
    "## 4、开发工具\n",
    "\n",
    "- Visual Studio\n",
    "- Visual Stuido Code：Cursor，Trae，\n",
    "- Jetbrains：Pycharm，IntelliJ，Rider，CLion，Kotlin\n",
    "- Android Studio\n",
    "- Dev\n",
    "- XCode\n",
    "- Rad Studio\n",
    "- VB6"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "a565e664",
   "metadata": {},
   "source": [
    "## 5、开发框架\n",
    "- .NET：WinForm，WPF，WinUI，Maui\n",
    "- Qt，Vcl，FireMonkey\n",
    "- React，Vue，Angular，。。。。\n",
    "- Element，Ant Design，Tailwind.....\n",
    "- SpringBoot\n",
    "- Web API\n",
    "- Pytorch\n",
    "- Pandas\n",
    "...."
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9075573f",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "031c2661",
   "metadata": {},
   "source": [
    "## 6、.NET\n",
    "\n",
    "- Desktop：桌面应用\n",
    "- Web\n",
    "- Service\n",
    "- Iot\n",
    "- AI\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5a4158a5",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "88b9675a",
   "metadata": {},
   "source": [
    "- MFC: C++：诟病，OWL，Qt，wxWidget，C++ Builder...\n",
    "- VB: Visual Basic\n",
    "- Delphi：\n",
    "- PowerBuilder：\n",
    "- FoxBase，Viusal FoxPro：\n",
    "- Java：Awt，Swing，Swt，JavaFX；Eclipse，JBuilder；JavaEE EJB，SpringBoot\n",
    "- .NET：WinForm，WPF，MVVM，UWP（WinUI），Mono，（.NET Core），Maui(React)，OpenSilver\n",
    "- Flutter（Google，Skia（Chrome）），FireMonkey（Delphi，Skia），Avalonia，uno\n",
    "\n",
    "- Asp.NET（WinForm，VB）\n",
    "- Google GMail：\n",
    "- React、Vue、Angular，国内：Vue 3.x\n",
    "- Asp.NET MVC, SpringBoot MVC\n",
    "- Html + CSS + Javascript\n",
    "- UI框架+前段框架+开发框架+后端开发\n",
    "- Element，ElementPlus，Ant Desngisn。。。。\n",
    "- Web API，SPA\n",
    "- .NET Web Api，REST（.NET，Java，C++，Go，Rust，Python，PHP，Nodejs, TypeScript）,Bun\n",
    "- WebAssembly：Blazor，Rust，AssemblyScript，C/C++，MoonBit，Java，\n",
    "- Flutter（Dart），Avalonia(C#)，uno(C#)，Kotlin\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "967d4415",
   "metadata": {},
   "source": [
    "## C#\n",
    "\n",
    "- OOP(面向对象)\n",
    "- Lambda\n",
    "- LINQ\n",
    "- 函数式编程\n",
    "- IL\n",
    "- Jit，Aot"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "a9d01cec",
   "metadata": {},
   "source": [
    "## .NET：\n",
    "- Framework\n",
    "- .NET Core\n",
    "- cross platform: 不带有UI的，WinForm,WPF,WinUI都不支持，Xamarin Form，Maui(Windows，mac, ios,android,linux)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "949e990f",
   "metadata": {},
   "source": [
    "XPF，Uno\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "d2ded662",
   "metadata": {},
   "source": [
    "- c#，WinForm,WPF\n",
    "- UI库：DevExpress，Telerik，\n",
    "- BootStrap\n",
    "- Git(VCS)\n",
    "- Paint.NET，PhotoShop\n",
    "- InkScape，\n",
    "- UI设计工具：\n",
    "- Database：Oracle、Sql Server；MySQL，MongoDB，PostgreSQL，Sqlite\n",
    "- SQL&ORM："
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2e9f1f55",
   "metadata": {},
   "source": [
    "\"SELECT USERNAME=:UserName\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "UserName=\"张三\\\"; update password  user;\""
   ]
  },
  {
   "cell_type": "markdown",
   "id": "87cfd9b8",
   "metadata": {},
   "source": [
    "## 开发环境\n",
    "\n",
    "- 开发工具\n",
    "    - Visual Studio: `winget install Microsoft.VisualStudio.2022.Community`\n",
    "    - Visual Studio Code: `winget install Microsoft.VisualStudioCode`\n",
    "    - Jetbrains Rider: `winget install JetBrains.Rider`\n",
    "    \n",
    "    - Trae\n",
    "    - Cursor\n",
    "    - Windsurf"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "12124a41",
   "metadata": {},
   "source": [
    "命令行：\n",
    "- command\n",
    "- powershell\n",
    "- sh\n",
    "- bash\n",
    "- zsh\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "08874e3f",
   "metadata": {},
   "source": [
    "插件：\n",
    "- AI插件：\n",
    "    - 通义，tongyi，阿里\n",
    "    - Copilot，微软\n",
    "    - Trae（MarsCode），字节\n",
    "    - ....\n",
    "- VS：CodeMaid\n",
    "\n",
    "- CLI:\n",
    "    - Claude code: Antropic\n",
    "    - Gemini code: Google\n",
    "    - Grok code: xAI\n",
    "    - Copilot: Microsoft\n",
    "    - Qwen-Coder: alibaba\n",
    "\n",
    "- AI编程：\n",
    "    - chat\n",
    "    - builer (mcp)\n",
    "\n",
    "- AI:\n",
    "    - DeepSeek\n",
    "    - 豆包：\n",
    "    - Kimi\n",
    "    - 通义\n",
    "    - 智普\n",
    "    - 元宝\n",
    "    ...\n",
    "\n",
    "    - ChatGPT\n",
    "    - Claude\n",
    "    - Gemini\n",
    "    - Grok\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "76cdd175",
   "metadata": {},
   "source": [
    "## C#(CSharp)\n",
    "- 数据类型\n",
    "    - 基本类型\n",
    "        - 整数：1,2,4,8字节，有符号和无符号，\n",
    "            - byte: 1字节，无符号整数，范围0-255\n",
    "            - sbyte: 1字节，有符号整数，范围-128-127\n",
    "            - short: 2字节，有符号整数，范围-32768-32767\n",
    "            - ushort: 2字节，无符号整数，范围0-65535\n",
    "            - int: 4字节，有符号整数，范围-2147483648-2147483647\n",
    "            - uint: 4字节，无符号整数，范围0-4294967295\n",
    "            - long: 8字节，有符号整数，范围-9223372036854775808-9223372036854775807\n",
    "            - ulong: 8字节，无符号整数，范围0-18446744073709551615\n",
    "            - nint: 平台相关有符号整数，范围-2147483648-2147483647\n",
    "            - nuint: 平台相关无符号整数，范围0-4294967295\n",
    "        - 浮点数\n",
    "            - float: 4字节，单精度浮点数，范围-3.402823e+38-3.402823e+38\n",
    "            - double: 8字节，双精度浮点数，范围-1.797693e+308-1.797693e+308\n",
    "            - Half: 2字节，半精度浮点数\n",
    "            - decimal: 16字节，高精度浮点数\n",
    "        - 字符\n",
    "            - char: UTF16编码的字符\n",
    "            - 字符编码：ASCII，0-127，GB2312,GB18030，UTF8，UTF16，UTF32\n",
    "        - 布尔值\n",
    "            - bool: true,false\n",
    "        - 枚举\n",
    "            - enum: 枚举类型(Oil, Gas, Water)\n",
    "    - 可空类型：int?，float?，double?，bool? null\n",
    "    - 高级类型\n",
    "        - 字符串：\n",
    "        - strut:\n",
    "        - class:\n",
    "\n",
    "- 基本语句\n",
    "    - 操作符：+,-,*,/,%\n",
    "    - 赋值操作符：=,+=,-=,*=,/=,%=\n",
    "    - 逻辑操作符：&&,||,!\n",
    "    - 关系操作符：==,!=,>,<,>=,<=\n",
    "    - 位操作符：&,|,^,<<,>>\n",
    "    - 声明变量：\n",
    "        - 类型 变量名;\n",
    "        - 类型|var 变量名 = 值;\n",
    "\n",
    "- 流程控制\n",
    "    - 分支\n",
    "        - if...else\n",
    "        - switch...case\n",
    "    - 循环:\n",
    "        - for\n",
    "        - foreach\n",
    "        - while\n",
    "        - do...while\n",
    "    - LINQ:\n",
    "\n",
    "- 类\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "9d3051c9",
   "metadata": {},
   "source": [
    "## WPF\n",
    "\n",
    "### 1.XAML界面设计\n",
    "- 布局：DockPanel、StackPanel、Grid\n",
    "- 控件：Button、TextBox、Label、DataGrid、RadioButton、TabControl、TextBlock、CheckBox、ComboBox、ListBox\n",
    "\n",
    "### 2.C#代码编写\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "a36a1f70",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cdc1de43",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.13.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
